﻿using System;
using System.Collections.Generic;
using System.Text;
using Meqs.Entity;

namespace Meqs.Logic.Interface
{
    public interface ITeacherEvalListLogic : ICommonLogic<TeacherEvalList, int>
    {
        /// <summary>
        /// 获取教师评估list
        /// </summary>
        /// <param name="reportType"></param>
        /// <param name="year"></param>
        /// <param name="month"></param>
        /// <param name="schoolYear"></param>
        /// <param name="term"></param>
        /// <param name="schoolMark"></param>
        /// <returns></returns>
        TeacherEvalList GetEvalList(int reportType, int year, int month, int? schoolYear, int? term, string schoolMark);
        TeacherEvalList GetEvalList(int historyId,int reportType, int year, int month, int? schoolYear, int? term, string schoolMark);
        TeacherEvalList GetEvalListByTerm(int historyId,int year, int month, int? schoolYear, int? term, string schoolMark);
       
        /// <summary>
        /// 插入学分评价记录
        /// </summary>
        /// <param name="moralityEvalList"></param>
        /// <param name="schoolMark"></param>
        /// <returns></returns>
        int InsertTeacherEvalEvalList(TeacherEvalList moralityEvalList, string schoolMark);
    }
}
